<div class="widget">
    <div class="whead"><h6>LISTADO DE CLIENTES</h6><div class="clear"></div></div>
    <div class="shownpars">
        <table cellpadding="0" cellspacing="0" border="0" class="dTable">
            <thead>
                <tr>
                    <th>Numero</th>
                    <th>Nombre</th>
                    <th>Tel&eacute;fono</th>
                    <th>Celular</th>
                    <th>Nit</th>
                    <th>Accion</th>  
                </tr>
            </thead>
            <tbody>
                <tr>
                <?php $i=1; foreach ($clientes as $cli): ?>
                    <td><?php echo $i; $i++; ?></td>
                    <td><?php echo $cli['Cliente']['nombre']; ?></td>
                    <td><?php echo $cli['Cliente']['telefono']; ?></td>
                    <td><?php echo $cli['Cliente']['celular']; ?></td>
                    <td><?php echo $cli['Cliente']['nit']; ?></td>
                    <td>
                    <?php echo $this->Html->link($this->Html->image("iconos/edit.png", array("alt" =>'Editar', 'title' => 'Editar')), array('action' => 'editar', $cli['Cliente']['id']),array('escape' => false)); ?>
                    <?php echo $this->Html->link($this->Html->image("iconos/elim.png", array("alt" =>'Eliminar', 'title' => 'Eliminar')), array('action' => 'eliminar', $cli['Cliente']['id']),array('escape' => false), 
                        ("Desea eliminar realmente??")); ?>
                        
                     <?php //echo $this->Html->link('EDITAR',array('action' => 'editar', $cli['Cliente']['id']), array('class' => 'inner_a')); ?>&nbsp;
                     <?php //echo $this->Html->link('ELIMINAR',array('action'=>'eliminar',$cli['Cliente']['id']),array('class' => 'inner_a'),('Desea realmente eliminar?')); ?>                        
                       
                    </td>
                </tr>
              
            <?php endforeach; ?>                
            </tbody>
        </table>
    </div> 
</div> 